package com.ruoyi.report_hntjg.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 碳化深度试验检测记录-详情业务对象 report_hntjg_thsdjlb_ba_detail
 *
 * @author tll
 * @date 2024-08-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportHntjgThsdjlbBaDetailBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long detailId;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 测区
     */
    @NotBlank(message = "测区不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ceq;

    /**
     * 表面状况
     */
    @NotBlank(message = "表面状况不能为空", groups = { AddGroup.class, EditGroup.class })
    private String biaomzk;

    /**
     * 碳化深度(mm)1
     */
    @NotNull(message = "碳化深度(mm)1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tanhsd1;

    /**
     * 碳化深度(mm)2
     */
    @NotNull(message = "碳化深度(mm)2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tanhsd2;

    /**
     * 碳化深度(mm)3
     */
    @NotNull(message = "碳化深度(mm)3不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tanhsd3;

    /**
     * 碳化深度平均(mm)
     */
    @NotNull(message = "碳化深度平均(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tanhsdPjz;


}
